package com.insurance.service;

import com.insurance.common.ResultData;

import java.sql.SQLException;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: 朱雄
 * Date: 2020/10/26 20:57
 * Description:订单类
 * Version: V1.0
 */
public interface OrderServcie {
    /**
     * 查询订单类型
     * @return
     */
    ResultData queryOrderType() throws SQLException;

    /**
     * 查询订单状态
     * @return
     */
    ResultData queryOrderStatus() throws SQLException;

    /**
     * 查询所有订单
     * @return
     * @throws SQLException
     */
    ResultData queryOrder() throws SQLException;

    /**
     * 多条件查询
     * @param map
     * @return
     */
    ResultData queryByMore(Map map);
}
